﻿using Entity.FrameEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [CustomAttribute(TableName = "pi_PlanMaterial_list", Description = "生产计划用料")]
    public class DBPlanYongLiao
    {
        private int? _id;
        private string _plcode;
        private string _procode;
        private string _batch;
        private string _rebarcode;
        private string _number;
        private string _uprice;
        private string _total;
        private string _mtype;
        private string _mcode;
        private string _memo;
        private string _valuetype;
        
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 计划编码
        /// </summary>
        public string plCode
        {
            set { _plcode = value; }
            get { return _plcode; }
        } 
        /// <summary>
        /// 存货编码
        /// </summary>
        public string proCode
        {
            set { _procode = value; }
            get { return _procode; }
        }
        /// <summary>
        /// 批次
        /// </summary>
        public string batch
        {
            set { _batch = value; }
            get { return _batch; }
        }

        /// <summary>
        /// 关联条码
        /// </summary>
        public string reBarCode
        {
            set { _rebarcode = value; }
            get { return _rebarcode; }
        }

        /// <summary>
        /// 使用数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        } 

       
        /// <summary>
        /// 单价
        /// </summary>
        public string uPrice
        {
            set { _uprice = value; }
            get { return _uprice; }
        }

        /// <summary>
        /// 总金额
        /// </summary>
        public string total
        {
            set { _total = value; }
            get { return _total; }
        }

        /// <summary>
        /// 数据类型
        /// </summary>
        public string mType
        {
            set { _mtype = value; }
            get { return _mtype; }
        }
        
        /// <summary>
        /// 操作码(时间戳)
        /// </summary>
        public string mCode
        {
            set { _mcode = value; }
            get { return _mcode; }
        }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        
        /// <summary>
        /// 数据类型（1正数，-1 负数）
        /// </summary>
        public string valueType
        {
            set { _valuetype = value; }
            get { return _valuetype; }
        }

        public string gxCode
        {
            get;set;
        }

    }
}
